package cn.tedu.circle.admin.account.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_account_user")
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private String avatarUrl;

    private String phone;

    private String email;

    private String description;

    private Integer enable;

    private String last_loginIp;

    private Integer loginCount;

    private Integer roleId;

    private Integer isRunner;

    private LocalDateTime gmtLastLogin;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
